using System;
using System.Runtime.Serialization;
namespace AppToolKit.Core
{
	public class DateTimeEx
	{
		private DateTime dt_;
		public virtual string PortableFormate
		{
			get
			{
				return this.dt_.ToString("s");
			}
		}
		public virtual string StandandFormate
		{
			get
			{
				return this.dt_.ToString("d");
			}
		}
		public DateTime Date
		{
			get
			{
				return this.dt_.Date;
			}
		}
		public int Day
		{
			get
			{
				return this.dt_.Day;
			}
		}
		public DayOfWeek DayOfWeek
		{
			get
			{
				return this.dt_.DayOfWeek;
			}
		}
		public int DayOfYear
		{
			get
			{
				return this.dt_.DayOfYear;
			}
		}
		public int Hour
		{
			get
			{
				return this.dt_.Hour;
			}
		}
		public DateTimeKind Kind
		{
			get
			{
				return this.dt_.Kind;
			}
		}
		public int Millisecond
		{
			get
			{
				return this.dt_.Millisecond;
			}
		}
		public int Minute
		{
			get
			{
				return this.dt_.Minute;
			}
		}
		public int Month
		{
			get
			{
				return this.dt_.Month;
			}
		}
		public int Second
		{
			get
			{
				return this.dt_.Second;
			}
		}
		public long Ticks
		{
			get
			{
				return this.dt_.Ticks;
			}
		}
		public TimeSpan TimeOfDay
		{
			get
			{
				return this.dt_.TimeOfDay;
			}
		}
		public int Year
		{
			get
			{
				return this.dt_.Year;
			}
		}
		public static implicit operator DateTimeEx(DateTime right)
		{
			return new DateTimeEx(right);
		}
		public static implicit operator DateTime(DateTimeEx right)
		{
			return right.dt_;
		}
		public bool ToBoolean(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToBoolean(provider);
		}
		public char ToChar(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToChar(provider);
		}
		public sbyte ToSByte(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToSByte(provider);
		}
		public byte ToByte(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToByte(provider);
		}
		public short ToInt16(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToInt16(provider);
		}
		public ushort ToUInt16(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToUInt16(provider);
		}
		public int ToInt32(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToInt32(provider);
		}
		public uint ToUInt32(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToUInt32(provider);
		}
		public long ToInt64(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToInt64(provider);
		}
		public ulong ToUInt64(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToUInt64(provider);
		}
		public float ToSingle(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToSingle(provider);
		}
		public double ToDouble(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToDouble(provider);
		}
		public decimal ToDecimal(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToDecimal(provider);
		}
		public DateTime ToDateTime(IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToDateTime(provider);
		}
		public object ToType(Type conversionType, IFormatProvider provider)
		{
			return ((IConvertible)this.dt_).ToType(conversionType, provider);
		}
		public void GetObjectData(SerializationInfo info, StreamingContext context)
		{
			((ISerializable)this.dt_).GetObjectData(info, context);
		}
		public DateTime Add(TimeSpan value)
		{
			return this.dt_.Add(value);
		}
		public DateTime AddDays(double value)
		{
			return this.dt_.AddDays(value);
		}
		public DateTime AddHours(double value)
		{
			return this.dt_.AddHours(value);
		}
		public DateTime AddMilliseconds(double value)
		{
			return this.dt_.AddMilliseconds(value);
		}
		public DateTime AddMinutes(double value)
		{
			return this.dt_.AddMinutes(value);
		}
		public DateTime AddMonths(int months)
		{
			return this.dt_.AddMonths(months);
		}
		public DateTime AddSeconds(double value)
		{
			return this.dt_.AddSeconds(value);
		}
		public DateTime AddTicks(long value)
		{
			return this.dt_.AddTicks(value);
		}
		public DateTime AddYears(int value)
		{
			return this.dt_.AddYears(value);
		}
		public int CompareTo(object value)
		{
			return this.dt_.CompareTo(value);
		}
		public int CompareTo(DateTime value)
		{
			return this.dt_.CompareTo(value);
		}
		public bool Equals(DateTime value)
		{
			return this.dt_.Equals(value);
		}
		public bool IsDaylightSavingTime()
		{
			return this.dt_.IsDaylightSavingTime();
		}
		public long ToBinary()
		{
			return this.dt_.ToBinary();
		}
		public TimeSpan Subtract(DateTime value)
		{
			return this.dt_.Subtract(value);
		}
		public DateTime Subtract(TimeSpan value)
		{
			return this.dt_.Subtract(value);
		}
		public double ToOADate()
		{
			return this.dt_.ToOADate();
		}
		public long ToFileTime()
		{
			return this.dt_.ToFileTime();
		}
		public long ToFileTimeUtc()
		{
			return this.dt_.ToFileTimeUtc();
		}
		public DateTime ToLocalTime()
		{
			return this.dt_.ToLocalTime();
		}
		public string ToLongDateString()
		{
			return this.dt_.ToLongDateString();
		}
		public string ToLongTimeString()
		{
			return this.dt_.ToLongTimeString();
		}
		public string ToShortDateString()
		{
			return this.dt_.ToShortDateString();
		}
		public string ToShortTimeString()
		{
			return this.dt_.ToShortTimeString();
		}
		public string ToString(string format)
		{
			return this.dt_.ToString(format);
		}
		public string ToString(IFormatProvider provider)
		{
			return this.dt_.ToString(provider);
		}
		public string ToString(string format, IFormatProvider provider)
		{
			return this.dt_.ToString(format, provider);
		}
		public DateTime ToUniversalTime()
		{
			return this.dt_.ToUniversalTime();
		}
		public string[] GetDateTimeFormats()
		{
			return this.dt_.GetDateTimeFormats();
		}
		public string[] GetDateTimeFormats(IFormatProvider provider)
		{
			return this.dt_.GetDateTimeFormats(provider);
		}
		public string[] GetDateTimeFormats(char format)
		{
			return this.dt_.GetDateTimeFormats(format);
		}
		public string[] GetDateTimeFormats(char format, IFormatProvider provider)
		{
			return this.dt_.GetDateTimeFormats(format, provider);
		}
		public TypeCode GetTypeCode()
		{
			return this.dt_.GetTypeCode();
		}
		public DateTimeEx(DateTime time)
		{
			this.dt_ = time;
		}
	}
}
